package com.unknowpupil.web.domain;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "sys_config")
public class SysConfig implements Serializable {
    /**
     * key
     */
    @Id
    @Column(name = "`key`")
    private String key;

    /**
     * 删除状态：0正常：1删除
     */
    @Column(name = "`status`")
    private Integer status;

    /**
     * 创建日期
     */
    @Column(name = "created")
    private Date created;

    /**
     * 跟新日期
     */
    @Column(name = "updated")
    private Date updated;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 版本号 默认0
     */
    @Column(name = "versione")
    private Long versione;

    /**
     * value
     */
    @Column(name = "`value`")
    private String value;

    /**
     * 过期时间
     */
    @Column(name = "expired")
    private Date expired;

    private static final long serialVersionUID = 1L;
}